﻿using System;

namespace GeYiHome.Domain.Entities
{
    /// <summary>
    /// news:实体类(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class NewsEntity : BaseEntity
    {
        public NewsEntity() { }
        public NewsEntity( string newsTitle, string content, string author, string createdTime, int status, int orderNumber, string pictureUrl)
        {
            this.NewsTitle = newsTitle;
            this.Author = author;
            this.CreatedTime = createdTime;
            this.Status = status;
            this.OrderNumber = orderNumber;
            this.PictureUrl = pictureUrl;
        }

        public string NewsTitle { get; }

        public string Author { get; }
        public string CreatedTime { get; }
        public int Status { get; }
        public int OrderNumber { get; }
        private string PictureUrl { get; }
    }

}

